package com.easy.service;

import com.easy.bean.Trainer;
import com.easy.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ITrainerService {

    List<Trainer> getTrainer(Trainer trainer, Page page);
    int getTrainerCount(Trainer trainer);

    int delTrainer(int trainerID);

    Trainer getTrainerByID(int trainerID);

    int addTrainer(Trainer trainer);

    int editTrainer(Trainer trainer);

    List<Trainer> getAllTrainer();
}
